Accusoft PrintPRO 8
PictureWidth Property
Description

Gets the width of the bitmap defined by the Picture property in printer units defined by the ScaleMode property.

Property Type
Read-only property
Syntax
Visual Basic
Public Property PictureWidth As Single
Return Type
A single value which represents the width of the bitmap.
Remarks

Not available at design time.

A bitmap image must be loaded into the control using the Picture property.

Printer units are different than screen units. For example, an image that is 320x240 screen pixels on a 600dpi printer would be 2000x1500 printer pixels.

 

Example

Not available at design time.

A bitmap image must be loaded into the control using the Picture property

You can use the PictureHeight and PictureWidth properties to print the image using the PrintPicture method as follows:

object.ScaleMode = 1

object.PrintPicture 0, 0, object.PictureWidth, object.PictureHeight

See Also

PrintPro Object  | PrintPro Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback