The Image Object - Script2CMD Programming Interface

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

Height

Value ULONG
Access Get
Notes

Width

Value ULONG
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
Arguments:
  • BSTR imageType
Notes

Open

Return Value VARIANT_BOOL
Arguments:
  • BSTR path
Notes

PrintWindow

Return Value VARIANT_BOOL
Arguments:
  • ULONG hWnd
Notes

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