MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_Pdf.Const_ImageParams Class Reference

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
 

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.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector2f size [get]
 
unsafe MR.Std.Const_String caption [get]
 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]
 
- Properties inherited from MR.Misc.Object< Const_ImageParams >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ImageParams >
bool _IsOwningVal
 

Detailed Description

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

Property Documentation

◆ 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)


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