Daniel's XL Toolbox NG
XLToolbox.Export.Models.SingleExportSettings Class Reference

Holds settings for a specific single export process. More...

Inheritance diagram for XLToolbox.Export.Models.SingleExportSettings:
Collaboration diagram for XLToolbox.Export.Models.SingleExportSettings:

Public Member Functions

 SingleExportSettings ()
 
 SingleExportSettings (Preset preset, double width, double height)
 Creates a new instance using a given Preset, width, height, unit and preserve aspect flag. More...
 
 SingleExportSettings (Preset preset, double width, double height, Unit unit, bool preserveAspect)
 Creates a new instance using a given Preset, width, height, unit and preserve aspect flag. More...
 
- Public Member Functions inherited from XLToolbox.Export.Models.Settings
 Settings ()
 

Static Public Member Functions

static SingleExportSettings CreateForSelection (Preset preset)
 Creates a single export settings for the current selection. More...
 

Properties

double Width [get, set]
 Width of the selection in points. More...
 
double Height [get, set]
 Height of the selection in points. More...
 
bool PreserveAspect [get, set]
 
Unit Unit [get, set]
 
- Properties inherited from XLToolbox.Export.Models.Settings
Preset Preset [get, set]
 
string FileName [get, set]
 

Detailed Description

Holds settings for a specific single export process.

Constructor & Destructor Documentation

◆ SingleExportSettings() [1/3]

XLToolbox.Export.Models.SingleExportSettings.SingleExportSettings ( )
inline

◆ SingleExportSettings() [2/3]

XLToolbox.Export.Models.SingleExportSettings.SingleExportSettings ( Preset  preset,
double  width,
double  height 
)
inline

Creates a new instance using a given Preset, width, height, unit and preserve aspect flag.

Parameters
presetPreset to use for these settings.
widthWidth (in points, i.e. 1/72 inch).
heightHeight (in points, i.e. 1/72 inch).

◆ SingleExportSettings() [3/3]

XLToolbox.Export.Models.SingleExportSettings.SingleExportSettings ( Preset  preset,
double  width,
double  height,
Unit  unit,
bool  preserveAspect 
)
inline

Creates a new instance using a given Preset, width, height, unit and preserve aspect flag.

Parameters
presetPreset to use for these settings.
widthWidth (in unit ).
heightHeight (in unit ).
unitUnit to use for width and height .
preserveAspectWhether to preserve aspect ratio when changing width or height .

Member Function Documentation

◆ CreateForSelection()

static SingleExportSettings XLToolbox.Export.Models.SingleExportSettings.CreateForSelection ( Preset  preset)
inlinestatic

Creates a single export settings for the current selection.

Property Documentation

◆ Height

double XLToolbox.Export.Models.SingleExportSettings.Height
getset

Height of the selection in points.

◆ PreserveAspect

bool XLToolbox.Export.Models.SingleExportSettings.PreserveAspect
getset

◆ Unit

Unit XLToolbox.Export.Models.SingleExportSettings.Unit
getset

◆ Width

double XLToolbox.Export.Models.SingleExportSettings.Width
getset

Width of the selection in points.


The documentation for this class was generated from the following file: