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
「大」ページマージン値
public const string MARGINS_LARGE = "Large"
フィールド値
MARGINS_MEDIUM
「中」ページマージン値
public const string MARGINS_MEDIUM = "Medium"
フィールド値
MARGINS_SMALL
「小」ページマージン値
public const string MARGINS_SMALL = "Small"
フィールド値
MARGINS_ZERO
「ゼロ」ページマージン値
public const string MARGINS_ZERO = "Zero"
フィールド値
ORIENTATION
ページの名前付き向き、ポートレートまたはランドスケープのための向きキー。
public const string ORIENTATION = "Orientation"
フィールド値
ORIENTATION_BEST_FIT
「ベストフィット」向き値
public const string ORIENTATION_BEST_FIT = "Best Fit"
フィールド値
ORIENTATION_LANDSCAPE
「ランドスケープ」向き値
public const string ORIENTATION_LANDSCAPE = "Landscape"
フィールド値
ORIENTATION_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
「エグゼクティブ」ページサイズ値
public const string SIZE_EXECUTIVE = "Executive"
フィールド値
SIZE_INTERNATIONAL
「インターナショナル」ページサイズ値
public const string SIZE_INTERNATIONAL = "International"
フィールド値
SIZE_LEDGER
「レジャー」ページサイズ値
public const string SIZE_LEDGER = "Ledger"
フィールド値
SIZE_LEGAL
「リーガル」ページサイズ値
public const string SIZE_LEGAL = "Legal"
フィールド値
SIZE_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)
「ポートレート」ページ向きでページサイズを計算します
プリセットのページサイズ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