DiagramWatermarkableImage

DiagramWatermarkableImage class

Represents an image inside a Visio document.

public class DiagramWatermarkableImage : WatermarkableImage

Constructors

Name Description
DiagramWatermarkableImage(byte[]) Initializes a new instance of the DiagramWatermarkableImage class using specified image data.

Properties

Name Description
Height { get; } Gets the height of this WatermarkableImage in pixels.
Width { get; } Gets the width of this WatermarkableImage in pixels.

Methods

Name Description
Add(Watermark) Adds a watermark to this WatermarkableImage. This method assumes that watermark offset and size are measured in pixels (if they are assigned).
FindImages() Finds all images in the content. The search is conducted in the objects specified in SearchableObjects.
FindImages(ImageSearchCriteria) Finds images according to the specified search criteria. The search is conducted in the objects specified in SearchableObjects.
GetBytes() Gets the image as byte array.
Search() Finds all possible watermarks in the content. The search is conducted in the objects specified in SearchableObjects.
Search(SearchCriteria) Finds possible watermarks according to specified search criteria. The search is conducted in the objects specified in SearchableObjects.

See Also