Class DrFont

Class DrFont

이름 공간 : Aspose.Page.Font 모임: Aspose.Page.dll (25.5.0)

GDI+ 글꼴 대신 이 클래스를 사용합니다.

public class DrFont

Inheritance

object DrFont

상속 회원들

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

AscentLis

이 글꼴의 세포 상승 (lis)이것은 세포 꼭대기에서 세포 기본선까지의 수직 거리입니다.

public int AscentLis { get; }

부동산 가치

int

Remarks

이 가치는 또한 호출됩니다 세포 바젤.

AscentPoints

포인트로 세포 상승을 반환합니다.

public float AscentPoints { get; }

부동산 가치

float

CellHeightLis

이 글꼴의 세포 높이 (lis)를 반환합니다.이것은 Aspose.Page.Font.DrFont.AscentLis + Aspose.Page.Font.DrFont.DescentLis에 대한 단축입니다.

public int CellHeightLis { get; }

부동산 가치

int

CellHeightPoints

Aspose.Page.Font.DrFont.AscentPoints + Aspose.Page.Font.DrFont.DescentPoints에 대한 짧은 삭제.

public float CellHeightPoints { get; }

부동산 가치

float

DescentLis

이 글자(lis)의 셀 아래로 내려간다이것은 세포 바닥에서 세포 기본선까지의 수직 거리입니다.

public int DescentLis { get; }

부동산 가치

int

DescentPoints

그것은 포인트로 세포의 내려가는 것을 반환합니다.

public float DescentPoints { get; }

부동산 가치

float

FamilyName

이 글꼴의 이름을 얻으십시오.

public string FamilyName { get; }

부동산 가치

string

IsBold

이 사례가 용감한지 여부를 나타내는 가치를 얻습니다.

public bool IsBold { get; }

부동산 가치

bool

IsItalic

이 경우 이탈리아어가 있는지 여부를 나타내는 값을 얻습니다.

public bool IsItalic { get; }

부동산 가치

bool

LeadingLis

이 글꼴(lis)을 가리키는 반환입니다.이것은 Aspose.Page.Font.DrFont.LineSpacingLis - Aspose.Page.Font.DrFont.CellHeightLis에 대한 단축입니다.

public int LeadingLis { get; }

부동산 가치

int

LeadingPoints

이 글꼴(lis)을 가리키는 반환입니다.이것은 Aspose.Page.Font.DrFont.LineSpacingLis - Aspose.Page.Font.DrFont.CellHeightLis에 대한 단축입니다.

public float LeadingPoints { get; }

부동산 가치

float

LineSpacingLis

이 글꼴 (lis)의 세포 스파이팅을 반환합니다.이것은 두 글리프의 바젤 사이의 수직 거리입니다.

public int LineSpacingLis { get; }

부동산 가치

int

LineSpacingPoints

이 글꼴 (점)의 셀 스파킹을 반환합니다.이것은 두 글리프의 바젤 사이의 수직 거리입니다.

public float LineSpacingPoints { get; }

부동산 가치

float

SizePoints

이 글꼴의 크기를 얻으십시오 (점).

public float SizePoints { get; set; }

부동산 가치

float

SmallCapsScaleFactor

SmallCaps 스케일 요소를 얻습니다.

public float SmallCapsScaleFactor { get; }

부동산 가치

float

Style

이 글꼴의 스타일을 얻습니다.

public FontStyle Style { get; }

부동산 가치

FontStyle

StyleEx

이 숙박 시설에는 글꼴 스타일에 대한 추가 정보가 포함되어 있습니다.

public short StyleEx { get; set; }

부동산 가치

short

Methods

Equals(DrFont)

지정된 다른 것과 동일합니다.

protected bool Equals(DrFont other)

Parameters

other DrFont

다른 물건은

Returns

bool

‘진실’이 지정된 Aspose.Page.Font.DrFont이 이 사례와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.

Equals(객체)

지정된 System.Object이 이 경우와 동일한지 여부를 결정합니다.

public override bool Equals(object obj)

Parameters

obj object

시스템.Object 이 경우와 비교할 수 있습니다.

Returns

bool

‘진실’이 지정된 System.Object이 이 경우와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.

GetCharWidthLis(차)

차 넓이 lis를 얻으십시오.

public int GetCharWidthLis(char c)

Parameters

c char

계산할 수 있는 상징이다.

Returns

int

넓이로 돌아가기

GetCharWidthPoints(차)

그것은 캐릭터의 넓이 (점)로 돌아갑니다.

public float GetCharWidthPoints(char c)

Parameters

c char

계산할 수 있는 상징이다.

Returns

float

넓이로 돌아가기

GetHashCode()

이 경우 해시 코드를 반환합니다.

public override int GetHashCode()

Returns

int

이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.

GetTextSizePoints(스트리트)

포인트로 텍스트의 측정 텍스트 상자를 반환합니다.

public SizeF GetTextSizePoints(string text)

Parameters

text string

계산하기 위한 텍스트입니다.

Returns

SizeF

돌아가기 크기

GetTextWidthLis(스트리트)

텍스트 넓이 lis를 얻습니다.

public int GetTextWidthLis(string text)

Parameters

text string

계산하기 위한 텍스트입니다.

Returns

int

넓이로 돌아가기

GetTextWidthPoints(스트리트)

텍스트 폭 포인트를 얻습니다.

public float GetTextWidthPoints(string text)

Parameters

text string

계산하기 위한 텍스트입니다.

Returns

float

넓이로 돌아가기

GetTextWidthPoints(링크, int, int)

텍스트 폭 포인트를 얻습니다.

public float GetTextWidthPoints(string text, int startIndex, int charCount)

Parameters

text string

계산하기 위한 텍스트입니다.

startIndex int

시작 인덱스 입니다.

charCount int

탱크 숫자

Returns

float

넓이로 돌아가기

IsPoorlyRenderedByGdiPlus(스트리트)

“Microsoft Sans Serif” 글꼴에 대한 진실을 반환합니다.이 글꼴은 GDI+에 의해 나쁘게 표시됩니다.Test286 및 Gemini-6959 참조.

public static bool IsPoorlyRenderedByGdiPlus(string fontName)

Parameters

fontName string

글꼴의 이름입니다.

Returns

bool

‘진실’이라면 [GDI 플러스에 의해 나쁘게 제공되는 경우] [지정된 글꼴 이름]; 그렇지 않으면 ‘거짓’입니다.

Replace(DrFont)

포인트 콘텐츠 대체

public void Replace(DrFont font)

Parameters

font DrFont

출처 폰트

 한국어