XFINIUM.PDF Documentation
ImageWidth Property (PdfFlowImageContent)



Xfinium.Pdf.FlowDocument Namespace > PdfFlowImageContent Class : ImageWidth Property
Gets or sets the image width.
Syntax
'Declaration
 
Public Property ImageWidth As Double
'Usage
 
Dim instance As PdfFlowImageContent
Dim value As Double
 
instance.ImageWidth = value
 
value = instance.ImageWidth
public double ImageWidth {get; set;}
public:
property double ImageWidth {
   double get();
   void set (    double value);
}

Property Value

The width of the image drawn on the page.
Exceptions
ExceptionDescription
Thrown when Width is set to a value less than 0.
Remarks
The value of this property represents either a percentage (0 to 100) or an absolute value based on the value of SizeIsRelativeToAvailableSpace property.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFlowImageContent Class
PdfFlowImageContent Members