Table of Contents

Class PageSetup

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class PageSetup : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
PageSetup
Implements
Inherited Members

Constructors

PageSetup(bool, params ConstructArgument[])

protected PageSetup(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

PageSetup(IntPtr, bool)

protected PageSetup(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

Copy()

public PageSetup Copy()

Returns

PageSetup

GetBottomMargin(Unit)

public double GetBottomMargin(Unit unit)

Parameters

unit Unit

Returns

double

GetGType()

public static Type GetGType()

Returns

Type

GetLeftMargin(Unit)

public double GetLeftMargin(Unit unit)

Parameters

unit Unit

Returns

double

GetOrientation()

public PageOrientation GetOrientation()

Returns

PageOrientation

GetPageHeight(Unit)

public double GetPageHeight(Unit unit)

Parameters

unit Unit

Returns

double

GetPageWidth(Unit)

public double GetPageWidth(Unit unit)

Parameters

unit Unit

Returns

double

GetPaperHeight(Unit)

public double GetPaperHeight(Unit unit)

Parameters

unit Unit

Returns

double

GetPaperSize()

public PaperSize GetPaperSize()

Returns

PaperSize

GetPaperWidth(Unit)

public double GetPaperWidth(Unit unit)

Parameters

unit Unit

Returns

double

GetRightMargin(Unit)

public double GetRightMargin(Unit unit)

Parameters

unit Unit

Returns

double

GetTopMargin(Unit)

public double GetTopMargin(Unit unit)

Parameters

unit Unit

Returns

double

LoadFile(string)

public bool LoadFile(string fileName)

Parameters

fileName string

Returns

bool

LoadKeyFile(KeyFile, string?)

public bool LoadKeyFile(KeyFile keyFile, string? groupName)

Parameters

keyFile KeyFile
groupName string

Returns

bool

New()

public static PageSetup New()

Returns

PageSetup

NewFromFile(string)

public static PageSetup NewFromFile(string fileName)

Parameters

fileName string

Returns

PageSetup

NewFromGvariant(Variant)

public static PageSetup NewFromGvariant(Variant variant)

Parameters

variant Variant

Returns

PageSetup

NewFromKeyFile(KeyFile, string?)

public static PageSetup NewFromKeyFile(KeyFile keyFile, string? groupName)

Parameters

keyFile KeyFile
groupName string

Returns

PageSetup

SetBottomMargin(double, Unit)

public void SetBottomMargin(double margin, Unit unit)

Parameters

margin double
unit Unit

SetLeftMargin(double, Unit)

public void SetLeftMargin(double margin, Unit unit)

Parameters

margin double
unit Unit

SetOrientation(PageOrientation)

public void SetOrientation(PageOrientation orientation)

Parameters

orientation PageOrientation

SetPaperSize(PaperSize)

public void SetPaperSize(PaperSize size)

Parameters

size PaperSize

SetPaperSizeAndDefaultMargins(PaperSize)

public void SetPaperSizeAndDefaultMargins(PaperSize size)

Parameters

size PaperSize

SetRightMargin(double, Unit)

public void SetRightMargin(double margin, Unit unit)

Parameters

margin double
unit Unit

SetTopMargin(double, Unit)

public void SetTopMargin(double margin, Unit unit)

Parameters

margin double
unit Unit

ToFile(string)

public bool ToFile(string fileName)

Parameters

fileName string

Returns

bool

ToGvariant()

public Variant ToGvariant()

Returns

Variant

ToKeyFile(KeyFile, string?)

public void ToKeyFile(KeyFile keyFile, string? groupName)

Parameters

keyFile KeyFile
groupName string