Click or drag to resize
CanvasVirtualImageSource Methods

The CanvasVirtualImageSource type exposes the following members.

Methods
  NameDescription
Public methodConvertDipsToPixels
Converts units from device independent pixels (DIPs) to physical pixels based on the DPI of this image source.
Public methodConvertPixelsToDips
Converts units from physical pixels to device independent pixels (DIPs) based on the DPI of this image source.
Public methodCreateDrawingSession
Returns a new drawing session for updating a region of the image source.
Public methodInvalidate
Marks the entire image as needing to be redrawn.
Public methodInvalidate(Rect)
Marks a region of the image as needing to be redrawn.
Public methodRaiseRegionsInvalidatedIfAny
Raises RegionsInvalidated if there are any invalid regions.
Public methodRecreate
Recreates the underlying image source associating it with a different CanvasDevice.
Public methodResize(Size)
Resizes the virtual image.
Public methodResize(Single, Single)
Resizes the virtual image.
Public methodResize(Single, Single, Single)
Resizes the virtual image and possibly changes the DPI.
Public methodResumeDrawingSession
Resumes a previously suspended drawing session.
Public methodSuspendDrawingSession
Suspends a drawing session so that it may be resumed on another thread.
Top
See Also