New to Telerik UI for WinFormsStart a free 30-day trial

Contains settings for image watermark.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class WatermarkImageSettings : INotifyPropertyChanged

Inheritance: objectWatermarkImageSettings

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the WatermarkImageSettings class.

C#
public WatermarkImageSettings()

Initializes a new instance of the WatermarkImageSettings class.

C#
public WatermarkImageSettings(Stream inputStream, Size size, string extension)
Parameters:inputStreamStream

The stream from which to obtain the image source.

sizeSize

The size of the image.

extensionstring

The extension of the image.

Initializes a new instance of the WatermarkImageSettings class.

C#
public WatermarkImageSettings(Stream inputStream)
Parameters:inputStreamStream

The stream from which to obtain the image source.

Initializes a new instance of the WatermarkImageSettings class.

C#
public WatermarkImageSettings(WriteableBitmap writableBitmap)
Parameters:writableBitmapWriteableBitmap

The writable bitmap which will be used to create the image.

Fields

C#
public static readonly double NormalWatermarkOpacity

Properties

Gets or sets the file extension.

C#
[XamlSerializable]
public string Extension { get; set; }
Property Value:

The extension.

Gets or sets the height.

C#
[XamlSerializable]
public double Height { get; set; }
Property Value:

The height.

Gets or sets the image bytes in Base64 format. This property is used for serialization.

C#
[XamlSerializable]
public string RawData { get; set; }
Property Value:

The raw data.

Gets or sets the angle at which the image should be rotated.

C#
[XamlSerializable(0)]
public double RotateAngle { get; set; }
Property Value:

The rotate angle.

Gets or sets the size.

C#
public Size Size { get; set; }
Property Value:

The size.

Gets or sets the URI which is used to obtain the image source.

C#
public Uri UriSource { get; set; }
Property Value:

The URI source.

Gets or sets the width.

C#
[XamlSerializable]
public double Width { get; set; }
Property Value:

The width.

Methods

Creates a deep copy of this object.

C#
public WatermarkImageSettings CreateDeepCopy()
Returns:

WatermarkImageSettings

The copy.

Gets the byte array used to create the image.

C#
public byte[] GetBytes()
Returns:

byte[]

Gets the RadDocument instance associated to this object.

C#
public RadDocument GetRootDocument()
Returns:

RadDocument

The RadDocument instance associated to this object.

Events

Occurs after a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged