Class PageConstants
Namespace: Aspose.Page.EPS
Assembly: Aspose.Page.dll (25.1.2)
Tato třída definuje sadu konstant, které popisují stránku.
Jsou poskytnuty pomocné objekty pro různé okraje, orientace,
přizpůsobení a standardní velikosti stránek.
public class PageConstants
Dědičnost
Děděné členy
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Pole
BACKGROUND
Klíč pro pozadí
public const string BACKGROUND = "Background"
Hodnota pole
BACKGROUND_COLOR
Klíč pro barvu pozadí
public const string BACKGROUND_COLOR = "BackgroundColor"
Hodnota pole
FIT_TO_PAGE
Klíč pro přizpůsobení obsahu stránce
public const string FIT_TO_PAGE = "FitToPage"
Hodnota pole
MARGINS_LARGE
Hodnota “velkých” okrajů stránky
public const string MARGINS_LARGE = "Large"
Hodnota pole
MARGINS_MEDIUM
Hodnota “středních” okrajů stránky
public const string MARGINS_MEDIUM = "Medium"
Hodnota pole
MARGINS_SMALL
Hodnota “malých” okrajů stránky
public const string MARGINS_SMALL = "Small"
Hodnota pole
MARGINS_ZERO
Hodnota “nulových” okrajů stránky
public const string MARGINS_ZERO = "Zero"
Hodnota pole
ORIENTATION
Klíč pro orientaci, pro pojmenovanou orientaci stránky, Portrét nebo Krajina.
public const string ORIENTATION = "Orientation"
Hodnota pole
ORIENTATION_BEST_FIT
Hodnota orientace “nejlepší přizpůsobení”
public const string ORIENTATION_BEST_FIT = "Best Fit"
Hodnota pole
ORIENTATION_LANDSCAPE
Hodnota orientace “krajina”
public const string ORIENTATION_LANDSCAPE = "Landscape"
Hodnota pole
ORIENTATION_PORTRAIT
Hodnota orientace “portrét”
public const string ORIENTATION_PORTRAIT = "Portrait"
Hodnota pole
PAGE_MARGINS
Klíč pro okraje stránky
public const string PAGE_MARGINS = "PageMargins"
Hodnota pole
PAGE_SIZE
Klíč pro velikost stránky
public const string PAGE_SIZE = "PageSize"
Hodnota pole
SIZE_A3
Hodnota velikosti stránky “A3”
public const string SIZE_A3 = "A3"
Hodnota pole
SIZE_A4
Hodnota velikosti stránky “A4”
public const string SIZE_A4 = "A4"
Hodnota pole
SIZE_A5
Hodnota velikosti stránky “A5”
public const string SIZE_A5 = "A5"
Hodnota pole
SIZE_A6
Hodnota velikosti stránky “A6”
public const string SIZE_A6 = "A6"
Hodnota pole
SIZE_EXECUTIVE
Hodnota velikosti stránky “Executive”
public const string SIZE_EXECUTIVE = "Executive"
Hodnota pole
SIZE_INTERNATIONAL
Hodnota velikosti stránky “International”
public const string SIZE_INTERNATIONAL = "International"
Hodnota pole
SIZE_LEDGER
Hodnota velikosti stránky “Ledger”
public const string SIZE_LEDGER = "Ledger"
Hodnota pole
SIZE_LEGAL
Hodnota velikosti stránky “Legal”
public const string SIZE_LEGAL = "Legal"
Hodnota pole
SIZE_LETTER
Hodnota velikosti stránky “Letter”
public const string SIZE_LETTER = "Letter"
Hodnota pole
TRANSPARENT
Klíč pro průhledné pozadí
public const string TRANSPARENT = "Transparent"
Hodnota pole
VIEWING_ORIENTATION
Klíč pro orientaci zobrazení, pro rotační matici rozlišující orientaci obsahu na stránce. Výchozí matice orientace zobrazení je identita.
public const string VIEWING_ORIENTATION = "ViewingOrientation"
Hodnota pole
Vlastnosti
OrientationList
public static string[] OrientationList { get; }
Hodnota vlastnosti
string[]
SizeList
public static string[] SizeList { get; }
Hodnota vlastnosti
string[]
Metody
GetMargins(string)
Získá hodnoty okrajů stránky
Předdefinovaný název okrajů stránkypublic static Margins GetMargins(string marginsSize)
Parametry
marginsSize
string
Návratová hodnota
GetMargins(Margins, string)
Vypočítá okraje stránky v určené orientaci
Původní okrajeOrientace stránkypublic static Margins GetMargins(Margins margins, string orientation)
Parametry
margins
Margins
orientation
string
Návratová hodnota
GetSize(string)
Vypočítá velikost stránky v orientaci “Portrét”
předdefinovaná velikost stránkypublic static Size GetSize(string size)
Parametry
size
string
Návratová hodnota
GetSize(string, string)
Vypočítá velikost stránky v dané orientaci stránky
předdefinovaná velikost stránkyorientace stránkypublic static Size GetSize(string size, string orientation)
Parametry
size
string
orientation
string
Návratová hodnota
GetSize(Size, string)
Vypočítá velikost stránky v dané orientaci stránky
Původní velikost stránkyOrientace stránkypublic static Size GetSize(Size size, string orientation)
Parametry
size
Size
orientation
string