The Image Object - HTML2EXE Programming Interface

Document Path: Home Page / Programming / HTML2EXE / Interfaces / Image Object  
Properties Height Width
Methods CaptureScreen CreateFromBitmapClipboard Destroy Flip GetData Open PrintWindow Resample RotateLeft RotateRight SaveAs TextToImage ToThumbNail
Properties

Height

Value ULONG (image height in pixels)
Access Get
Notes

Width

Value ULONG (image width in pixels)
Access Get
Notes
Methods

CaptureScreen

Return Value VARIANT_BOOL
Arguments:
  • ULONG x (Optional, default(0))
  • ULONG y (Optional, default(0))
  • ULONG width (Optional, default(0))
  • ULONG height (Optional, default(0))
Notes

CreateFromBitmapClipboard

Return Value VARIANT_BOOL
Notes

Destroy

Return Value
Notes

Flip

Return Value
Notes

GetData

Return Value VARIANT (one-dim safearray of byte)
Arguments:
  • BSTR imageType
Notes

Open

Return Value VARIANT_BOOL
Arguments:
  • BSTR path
Notes

PrintWindow

Return Value VARIANT_BOOL
Arguments:
  • ULONG hWnd
Notes
  • SDK Keyword: PrintWindow
  • If successful, an image is created.

Resample

Return Value
Arguments:
  • ULONG newWidth
  • ULONG newHeight
Notes

RotateLeft

Return Value
Notes

RotateRight

Return Value
Notes

SaveAs

Return Value VARIANT_BOOL
Arguments:
  • BSTR path
Notes

TextToImage

Return Value
Arguments:
  • BSTR text
Notes

ToThumbNail

Return Value
Arguments:
  • ULONG width
  • ULONG height
Notes