Class PageConstants
Namespace: Aspose.Page.EPS
Assembly: Aspose.Page.dll (25.1.2)
이 클래스는 페이지를 설명하는 상수 집합을 정의합니다. 다양한 여백, 방향, 재조정 및 표준 페이지 크기에 대한 편리한 객체가 제공됩니다.
public class PageConstants
상속
상속된 멤버
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
필드
BACKGROUND
배경 키
public const string BACKGROUND = "Background"
필드 값
BACKGROUND_COLOR
배경 색상 키
public const string BACKGROUND_COLOR = "BackgroundColor"
필드 값
FIT_TO_PAGE
페이지에 맞추기 키
public const string FIT_TO_PAGE = "FitToPage"
필드 값
MARGINS_LARGE
“Large” 페이지 여백 값
public const string MARGINS_LARGE = "Large"
필드 값
MARGINS_MEDIUM
“Medium” 페이지 여백 값
public const string MARGINS_MEDIUM = "Medium"
필드 값
MARGINS_SMALL
“Small” 페이지 여백 값
public const string MARGINS_SMALL = "Small"
필드 값
MARGINS_ZERO
“Zero” 페이지 여백 값
public const string MARGINS_ZERO = "Zero"
필드 값
ORIENTATION
페이지의 이름이 지정된 방향(세로 또는 가로)을 위한 방향 키
public const string ORIENTATION = "Orientation"
필드 값
ORIENTATION_BEST_FIT
“Best fit” 방향 값
public const string ORIENTATION_BEST_FIT = "Best Fit"
필드 값
ORIENTATION_LANDSCAPE
“Landscape” 방향 값
public const string ORIENTATION_LANDSCAPE = "Landscape"
필드 값
ORIENTATION_PORTRAIT
“Portrait” 방향 값
public const string ORIENTATION_PORTRAIT = "Portrait"
필드 값
PAGE_MARGINS
페이지 여백 키
public const string PAGE_MARGINS = "PageMargins"
필드 값
PAGE_SIZE
페이지 크기 키
public const string PAGE_SIZE = "PageSize"
필드 값
SIZE_A3
“A3” 페이지 크기 값
public const string SIZE_A3 = "A3"
필드 값
SIZE_A4
“A4” 페이지 크기 값
public const string SIZE_A4 = "A4"
필드 값
SIZE_A5
“A5” 페이지 크기 값
public const string SIZE_A5 = "A5"
필드 값
SIZE_A6
“A6” 페이지 크기 값
public const string SIZE_A6 = "A6"
필드 값
SIZE_EXECUTIVE
“Executive” 페이지 크기 값
public const string SIZE_EXECUTIVE = "Executive"
필드 값
SIZE_INTERNATIONAL
“International” 페이지 크기 값
public const string SIZE_INTERNATIONAL = "International"
필드 값
SIZE_LEDGER
“Ledger” 페이지 크기 값
public const string SIZE_LEDGER = "Ledger"
필드 값
SIZE_LEGAL
“Legal” 페이지 크기 값
public const string SIZE_LEGAL = "Legal"
필드 값
SIZE_LETTER
“Letter” 페이지 크기 값
public const string SIZE_LETTER = "Letter"
필드 값
TRANSPARENT
투명 배경 키
public const string TRANSPARENT = "Transparent"
필드 값
VIEWING_ORIENTATION
보기 방향 키, 페이지의 콘텐츠 방향을 구분하는 회전 행렬. 기본 보기 방향 행렬은 항등입니다.
public const string VIEWING_ORIENTATION = "ViewingOrientation"
필드 값
속성
OrientationList
public static string[] OrientationList { get; }
속성 값
string[]
SizeList
public static string[] SizeList { get; }
속성 값
string[]
메서드
GetMargins(string)
페이지 여백 값을 가져옵니다.
미리 정의된 페이지 여백 이름public static Margins GetMargins(string marginsSize)
매개변수
marginsSize
string
반환
GetMargins(Margins, string)
지정된 방향에서 페이지 여백을 계산합니다.
원래 여백페이지의 방향public static Margins GetMargins(Margins margins, string orientation)
매개변수
margins
Margins
orientation
string
반환
GetSize(string)
“Portrait” 페이지 방향에서 페이지 크기를 계산합니다.
미리 정의된 페이지 크기public static Size GetSize(string size)
매개변수
size
string
반환
GetSize(string, string)
주어진 페이지 방향에서 페이지 크기를 계산합니다.
미리 정의된 페이지 크기페이지의 방향public static Size GetSize(string size, string orientation)
매개변수
size
string
orientation
string
반환
GetSize(Size, string)
주어진 페이지 방향에서 페이지 크기를 계산합니다.
원래 페이지 크기페이지의 방향public static Size GetSize(Size size, string orientation)
매개변수
size
Size
orientation
string