Previous Document Next Document

Object Model Reference : Classes : B : Bitmap : Properties : Bitmap.SizeWidth


Bitmap.SizeWidth

Property SizeWidth As Long

Description

Member of Bitmap

The SizeWidth property returns the horizontal size (width) of a bitmap in pixels.

The SizeWidth property returns a read-only value.

VBA example

The following VBA example displays the width and height of a bitmap object.

Sub Size()
 With ActiveShape.Bitmap
  MsgBox .SizeWidth
  MsgBox .SizeHeight
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.