Class PageConstants

Class PageConstants

Název místa: Aspose.Page.EPS Shromáždění: Aspose.Page.dll (25.4.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 PageConstants

Inheritance

object PageConstants

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

string

BACKGROUND_COLOR

Klíč barvy pozadí

public const string BACKGROUND_COLOR = "BackgroundColor"

Polní hodnota

string

FIT_TO_PAGE

Připojte obsah ke klíčové stránce

public const string FIT_TO_PAGE = "FitToPage"

Polní hodnota

string

MARGINS_LARGE

“Long“ stránky hodnoty

public const string MARGINS_LARGE = "Large"

Polní hodnota

string

MARGINS_MEDIUM

“Medium“ stránky hodnoty

public const string MARGINS_MEDIUM = "Medium"

Polní hodnota

string

MARGINS_SMALL

“Malá“ hodnota stránky

public const string MARGINS_SMALL = "Small"

Polní hodnota

string

MARGINS_ZERO

“Zero“ stránky hodnoty

public const string MARGINS_ZERO = "Zero"

Polní hodnota

string

ORIENTATION

Orientační klíč, pro jmenovanou orientaci stránky, Portrét nebo krajiny.

public const string ORIENTATION = "Orientation"

Polní hodnota

string

ORIENTATION_BEST_FIT

“Nejlepší“ orientační hodnota

public const string ORIENTATION_BEST_FIT = "Best Fit"

Polní hodnota

string

ORIENTATION_LANDSCAPE

“Landscape“ orientační hodnota

public const string ORIENTATION_LANDSCAPE = "Landscape"

Polní hodnota

string

ORIENTATION_PORTRAIT

“Portrét“ orientační hodnota

public const string ORIENTATION_PORTRAIT = "Portrait"

Polní hodnota

string

PAGE_MARGINS

Page margin klíč

public const string PAGE_MARGINS = "PageMargins"

Polní hodnota

string

PAGE_SIZE

Page Size klíč

public const string PAGE_SIZE = "PageSize"

Polní hodnota

string

SIZE_A3

“A3” velikost stránky hodnoty

public const string SIZE_A3 = "A3"

Polní hodnota

string

SIZE_A4

“A4” velikost stránky hodnoty

public const string SIZE_A4 = "A4"

Polní hodnota

string

SIZE_A5

“A5” velikost stránky hodnoty

public const string SIZE_A5 = "A5"

Polní hodnota

string

SIZE_A6

“A6” velikost stránky hodnoty

public const string SIZE_A6 = "A6"

Polní hodnota

string

SIZE_EXECUTIVE

“Exekutivní” velikost stránky hodnoty

public const string SIZE_EXECUTIVE = "Executive"

Polní hodnota

string

SIZE_INTERNATIONAL

“Mezinárodní” velikost stránky hodnoty

public const string SIZE_INTERNATIONAL = "International"

Polní hodnota

string

SIZE_LEDGER

“Ledger” velikost stránky hodnoty

public const string SIZE_LEDGER = "Ledger"

Polní hodnota

string

SIZE_LEGAL

“Legální” velikost stránky hodnoty

public const string SIZE_LEGAL = "Legal"

Polní hodnota

string

SIZE_LETTER

“Letší” velikost stránky hodnoty

public const string SIZE_LETTER = "Letter"

Polní hodnota

string

TRANSPARENT

Transparentní pozadí klíče

public const string TRANSPARENT = "Transparent"

Polní hodnota

string

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

string

Properties

OrientationList

Dostupné orientační hodnoty

public static string[] OrientationList { get; }

Hodnota nemovitosti

string []a[]

SizeList

Dostupné hodnoty velikosti stránky

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

Margins

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

Margins

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

Size

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

Size

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

Returns

Size

 Čeština