Click or drag to resize
IWebSiteGraphics Methods

The IWebSiteGraphics type exposes the following members.

Methods
  NameDescription
Public methodAddAltitudeStalk
Creates a new image of the required height with an altitude stalk drawn centred on the X pixel passed across.
Public methodAddTextLines
Overlays lines of text onto the image.
Public methodCreateBlankImage
Creates a fully-transparent image of the size specified.
Public methodCreateIPhoneSplash
Creates an iPhone splash page image.
Public methodHeightenImage
Heightens the image and centres the original image within it. The new pixels are transparent.
Public methodResizeBitmap
Returns a new bitmap with the dimensions specified. The entire bitmap is filled with the background and then the original bitmap is drawn into the centre. If the aspect ratio of the original image is different to that of the new image then the ResizeMode indicates how to deal with it.
Public methodResizeForHiDpi
Doubles the width and height of the image for use on high DPI displays.
Public methodRotateImage
Rotates the image passed across by a number of degrees, running clockwise with 0 being north.
Public methodUseImage
When passed the current temporary image and the image that will become the new temporary image this disposes of the old temporary image and returns the new one. Can cope when the same image is passed across for both the temporary and new image.
Public methodWidenImage
Widens the image and centres the original image within it. The new pixels are transparent.
Top
See Also