Class PageConstants

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

objectPageConstants

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

string

BACKGROUND_COLOR

Klíč pro barvu pozadí

public const string BACKGROUND_COLOR = "BackgroundColor"

Hodnota pole

string

FIT_TO_PAGE

Klíč pro přizpůsobení obsahu stránce

public const string FIT_TO_PAGE = "FitToPage"

Hodnota pole

string

MARGINS_LARGE

Hodnota “velkých” okrajů stránky

public const string MARGINS_LARGE = "Large"

Hodnota pole

string

MARGINS_MEDIUM

Hodnota “středních” okrajů stránky

public const string MARGINS_MEDIUM = "Medium"

Hodnota pole

string

MARGINS_SMALL

Hodnota “malých” okrajů stránky

public const string MARGINS_SMALL = "Small"

Hodnota pole

string

MARGINS_ZERO

Hodnota “nulových” okrajů stránky

public const string MARGINS_ZERO = "Zero"

Hodnota pole

string

ORIENTATION

Klíč pro orientaci, pro pojmenovanou orientaci stránky, Portrét nebo Krajina.

public const string ORIENTATION = "Orientation"

Hodnota pole

string

ORIENTATION_BEST_FIT

Hodnota orientace “nejlepší přizpůsobení”

public const string ORIENTATION_BEST_FIT = "Best Fit"

Hodnota pole

string

ORIENTATION_LANDSCAPE

Hodnota orientace “krajina”

public const string ORIENTATION_LANDSCAPE = "Landscape"

Hodnota pole

string

ORIENTATION_PORTRAIT

Hodnota orientace “portrét”

public const string ORIENTATION_PORTRAIT = "Portrait"

Hodnota pole

string

PAGE_MARGINS

Klíč pro okraje stránky

public const string PAGE_MARGINS = "PageMargins"

Hodnota pole

string

PAGE_SIZE

Klíč pro velikost stránky

public const string PAGE_SIZE = "PageSize"

Hodnota pole

string

SIZE_A3

Hodnota velikosti stránky “A3”

public const string SIZE_A3 = "A3"

Hodnota pole

string

SIZE_A4

Hodnota velikosti stránky “A4”

public const string SIZE_A4 = "A4"

Hodnota pole

string

SIZE_A5

Hodnota velikosti stránky “A5”

public const string SIZE_A5 = "A5"

Hodnota pole

string

SIZE_A6

Hodnota velikosti stránky “A6”

public const string SIZE_A6 = "A6"

Hodnota pole

string

SIZE_EXECUTIVE

Hodnota velikosti stránky “Executive”

public const string SIZE_EXECUTIVE = "Executive"

Hodnota pole

string

SIZE_INTERNATIONAL

Hodnota velikosti stránky “International”

public const string SIZE_INTERNATIONAL = "International"

Hodnota pole

string

SIZE_LEDGER

Hodnota velikosti stránky “Ledger”

public const string SIZE_LEDGER = "Ledger"

Hodnota pole

string

SIZE_LEGAL

Hodnota velikosti stránky “Legal”

public const string SIZE_LEGAL = "Legal"

Hodnota pole

string

SIZE_LETTER

Hodnota velikosti stránky “Letter”

public const string SIZE_LETTER = "Letter"

Hodnota pole

string

TRANSPARENT

Klíč pro průhledné pozadí

public const string TRANSPARENT = "Transparent"

Hodnota pole

string

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

string

Vlastnosti

OrientationList

Dostupné hodnoty orientace

public static string[] OrientationList { get; }

Hodnota vlastnosti

string[]

SizeList

Dostupné hodnoty velikosti stránky

public static string[] SizeList { get; }

Hodnota vlastnosti

string[]

Metody

GetMargins(string)

Získá hodnoty okrajů stránky

Předdefinovaný název okrajů stránkyPředdefinované hodnoty okrajů stránky
public static Margins GetMargins(string marginsSize)

Parametry

marginsSize string

Návratová hodnota

Margins

GetMargins(Margins, string)

Vypočítá okraje stránky v určené orientaci

Původní okrajeOrientace stránkyPředdefinované okraje stránky pro danou orientaci
public static Margins GetMargins(Margins margins, string orientation)

Parametry

margins Margins

orientation string

Návratová hodnota

Margins

GetSize(string)

Vypočítá velikost stránky v orientaci “Portrét”

předdefinovaná velikost stránkyVypočítaná velikost stránky
public static Size GetSize(string size)

Parametry

size string

Návratová hodnota

Size

GetSize(string, string)

Vypočítá velikost stránky v dané orientaci stránky

předdefinovaná velikost stránkyorientace stránkyVypočítaná velikost stránky
public static Size GetSize(string size, string orientation)

Parametry

size string

orientation string

Návratová hodnota

Size

GetSize(Size, string)

Vypočítá velikost stránky v dané orientaci stránky

Původní velikost stránkyOrientace stránkyVypočítaná velikost stránky
public static Size GetSize(Size size, string orientation)

Parametry

size Size

orientation string

Návratová hodnota

Size

 Čeština