Class PageConstants
Název místa: Aspose.Page.EPS Shromáždění: Aspose.Page.dll (25.5.0)
Tato třída definuje soubor konstant, které popisují stránku.Pohodlné předměty jsou poskytovány pro různé marže, orientace,Rozměry a standardní rozměry stránek.
public class PageConstantsInheritance
Dědiční členové
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Fields
BACKGROUND
Zásadní klíč
public const string BACKGROUND = "Background"Polní hodnota
BACKGROUND_COLOR
Klíč barvy pozadí
public const string BACKGROUND_COLOR = "BackgroundColor"Polní hodnota
FIT_TO_PAGE
Připojte obsah ke klíčové stránce
public const string FIT_TO_PAGE = "FitToPage"Polní hodnota
MARGINS_LARGE
“Long“ stránky hodnoty
public const string MARGINS_LARGE = "Large"Polní hodnota
MARGINS_MEDIUM
“Medium“ stránky hodnoty
public const string MARGINS_MEDIUM = "Medium"Polní hodnota
MARGINS_SMALL
“Malá“ hodnota stránky
public const string MARGINS_SMALL = "Small"Polní hodnota
MARGINS_ZERO
“Zero“ stránky hodnoty
public const string MARGINS_ZERO = "Zero"Polní hodnota
ORIENTATION
Orientační klíč, pro jmenovanou orientaci stránky, Portrét nebo krajiny.
public const string ORIENTATION = "Orientation"Polní hodnota
ORIENTATION_BEST_FIT
“Nejlepší“ orientační hodnota
public const string ORIENTATION_BEST_FIT = "Best Fit"Polní hodnota
ORIENTATION_LANDSCAPE
“Landscape“ orientační hodnota
public const string ORIENTATION_LANDSCAPE = "Landscape"Polní hodnota
ORIENTATION_PORTRAIT
“Portrét“ orientační hodnota
public const string ORIENTATION_PORTRAIT = "Portrait"Polní hodnota
PAGE_MARGINS
Page margin klíč
public const string PAGE_MARGINS = "PageMargins"Polní hodnota
PAGE_SIZE
Page Size klíč
public const string PAGE_SIZE = "PageSize"Polní hodnota
SIZE_A3
“A3” velikost stránky hodnoty
public const string SIZE_A3 = "A3"Polní hodnota
SIZE_A4
“A4” velikost stránky hodnoty
public const string SIZE_A4 = "A4"Polní hodnota
SIZE_A5
“A5” velikost stránky hodnoty
public const string SIZE_A5 = "A5"Polní hodnota
SIZE_A6
“A6” velikost stránky hodnoty
public const string SIZE_A6 = "A6"Polní hodnota
SIZE_EXECUTIVE
“Exekutivní” velikost stránky hodnoty
public const string SIZE_EXECUTIVE = "Executive"Polní hodnota
SIZE_INTERNATIONAL
“Mezinárodní” velikost stránky hodnoty
public const string SIZE_INTERNATIONAL = "International"Polní hodnota
SIZE_LEDGER
“Ledger” velikost stránky hodnoty
public const string SIZE_LEDGER = "Ledger"Polní hodnota
SIZE_LEGAL
“Legální” velikost stránky hodnoty
public const string SIZE_LEGAL = "Legal"Polní hodnota
SIZE_LETTER
“Letší” velikost stránky hodnoty
public const string SIZE_LETTER = "Letter"Polní hodnota
TRANSPARENT
Transparentní pozadí klíče
public const string TRANSPARENT = "Transparent"Polní hodnota
VIEWING_ORIENTATION
Zobrazení orientačního klíče, pro rotační matrice rozlišující orientaci obsahu na stránce.
public const string VIEWING_ORIENTATION = "ViewingOrientation"Polní hodnota
Properties
OrientationList
public static string[] OrientationList { get; }Hodnota nemovitosti
string []a[]
SizeList
public static string[] SizeList { get; }Hodnota nemovitosti
string []a[]
Methods
GetMargins(Stringová)
Stránka má hodnoty margin
Předdefinovaný název stránkyPředdefinované hodnoty stránky
public static Margins GetMargins(string marginsSize)Parameters
marginsSize string
Returns
GetMargins(Marginová, Stringová)
Výpočet marže stránky mfdguы v určené orientaci
Originální marže Orientace stránkyЗZredefinované stránky pro danou orientaci
public static Margins GetMargins(Margins margins, string orientation)Parameters
margins Margins
orientation string
Returns
GetSize(Stringová)
Výpočet velikosti stránky v orientaci stránky “Portrét”
Předdefinovaná velikost stránkyVypočtená velikost stránky
public static Size GetSize(string size)Parameters
size string
Returns
GetSize(String , String)
Výpočet velikosti stránky v dané orientaci stránky
Předdefinovaná velikost stránky orientace stránkyVypočtená velikost stránky
public static Size GetSize(string size, string orientation)Parameters
size string
orientation string
Returns
GetSize(velikost, string)
Výpočet velikosti stránky v dané orientaci stránky
Originální velikost stránky Orientace stránkyVypočtená velikost stránky
public static Size GetSize(Size size, string orientation)Parameters
size Size
orientation string