MeshLib C# Docs
Loading...
Searching...
No Matches

Parameters to adding image from file Generated from class MR.Pdf.ImageParams. This is the const half of the class. More...

Inheritance diagram for MR.Const_Pdf.Const_ImageParams:

Classes

struct  _Underlying

Public Types

enum  AlignmentVertical : int { Top = 0 , Center = 1 , Bottom = 2 }
enum  UniformScale : int { None = 0 , FromWidth = 1 , FromHeight = 2 , Auto = 3 }
 set height to keep same scale as width scale More...

Public Member Functions

virtual void Dispose ()
unsafe Const_ImageParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_ImageParams (MR.Vector2f size, string caption, MR.Pdf.ImageParams.UniformScale uniformScale, MR.Pdf.ImageParams.AlignmentVertical alignmentVertical, MR.Pdf.AlignmentHorizontal alignmentHorizontal)
 Constructs MR.Pdf.ImageParams elementwise.
unsafe Const_ImageParams (MR.Pdf._ByValue_ImageParams _other)
 Generated from constructor MR::Pdf::ImageParams::ImageParams.
 Const_ImageParams (Const_ImageParams _other)
 Generated from constructor MR::Pdf::ImageParams::ImageParams.
 Const_ImageParams (ImageParams _other)
 Generated from constructor MR::Pdf::ImageParams::ImageParams.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector2f__ref_storage_size
unsafe MR.Pdf.ImageParams.UniformScale * __ref_storage_uniformScale
unsafe MR.Pdf.ImageParams.AlignmentVertical * __ref_storage_alignmentVertical
unsafe MR.Pdf.AlignmentHorizontal__ref_storage_alignmentHorizontal

Properties

unsafe ref readonly MR.Vector2f size [get]
 image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for)
unsafe MR.Std.Const_String caption [get, protected set]
 caption if not empty - add caption under marks (if exist) or image.
unsafe MR.Pdf.ImageParams.UniformScale uniformScale [get]
unsafe MR.Pdf.ImageParams.AlignmentVertical alignmentVertical [get]
unsafe MR.Pdf.AlignmentHorizontal alignmentHorizontal [get]

Detailed Description

Parameters to adding image from file Generated from class MR.Pdf.ImageParams. This is the const half of the class.

Member Enumeration Documentation

◆ AlignmentVertical

Enumerator
Top 
Center 
Bottom 

◆ UniformScale

set height to keep same scale as width scale

Enumerator
None 
FromWidth 
FromHeight 
Auto 

Constructor & Destructor Documentation

◆ Const_ImageParams() [1/5]

unsafe MR.Const_Pdf.Const_ImageParams.Const_ImageParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_ImageParams() [2/5]

unsafe MR.Const_Pdf.Const_ImageParams.Const_ImageParams ( MR.Vector2f size,
string caption,
MR.Pdf.ImageParams.UniformScale uniformScale,
MR.Pdf.ImageParams.AlignmentVertical alignmentVertical,
MR.Pdf.AlignmentHorizontal alignmentHorizontal )
inline

Constructs MR.Pdf.ImageParams elementwise.

◆ Const_ImageParams() [3/5]

unsafe MR.Const_Pdf.Const_ImageParams.Const_ImageParams ( MR.Pdf._ByValue_ImageParams _other)
inline

Generated from constructor MR::Pdf::ImageParams::ImageParams.

◆ Const_ImageParams() [4/5]

MR.Const_Pdf.Const_ImageParams.Const_ImageParams ( Const_ImageParams _other)
inline

Generated from constructor MR::Pdf::ImageParams::ImageParams.

◆ Const_ImageParams() [5/5]

MR.Const_Pdf.Const_ImageParams.Const_ImageParams ( ImageParams _other)
inline

Generated from constructor MR::Pdf::ImageParams::ImageParams.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_Pdf.Const_ImageParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Pdf.Const_ImageParams.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ref_storage_alignmentHorizontal

unsafe MR.Pdf.AlignmentHorizontal* MR.Const_Pdf.Const_ImageParams.__ref_storage_alignmentHorizontal
protected

◆ __ref_storage_alignmentVertical

unsafe MR.Pdf.ImageParams.AlignmentVertical* MR.Const_Pdf.Const_ImageParams.__ref_storage_alignmentVertical
protected

◆ __ref_storage_size

unsafe MR.Vector2f* MR.Const_Pdf.Const_ImageParams.__ref_storage_size
protected

◆ __ref_storage_uniformScale

unsafe MR.Pdf.ImageParams.UniformScale* MR.Const_Pdf.Const_ImageParams.__ref_storage_uniformScale
protected

Property Documentation

◆ alignmentHorizontal

unsafe MR.Pdf.AlignmentHorizontal MR.Const_Pdf.Const_ImageParams.alignmentHorizontal
get

◆ alignmentVertical

unsafe MR.Pdf.ImageParams.AlignmentVertical MR.Const_Pdf.Const_ImageParams.alignmentVertical
get

◆ caption

unsafe MR.Std.Const_String MR.Const_Pdf.Const_ImageParams.caption
getprotected set

caption if not empty - add caption under marks (if exist) or image.

◆ size

unsafe ref readonly MR.Vector2f MR.Const_Pdf.Const_ImageParams.size
get

image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for)

◆ uniformScale

unsafe MR.Pdf.ImageParams.UniformScale MR.Const_Pdf.Const_ImageParams.uniformScale
get

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