• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PictureWatermark

Represents a picture watermark on a printable page.

Inheritance
System.Object
ReportObject
Watermark
PictureWatermark
BackgroundOverlay
Inherited Members
Watermark.ShouldSerializeOpacityCore()
Watermark.ResetOpacityCore()
Watermark.Position
Watermark.Opacity
Watermark.PrintOnFirstPage
Watermark.PrintOnLastPage
ReportObject.ToString(String[])
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll

Syntax

public class PictureWatermark : Watermark, IExpressionContainer, ICloneable

Constructors

PictureWatermark()

Declaration
public PictureWatermark()

PictureWatermark(PictureWatermark)

Declaration
public PictureWatermark(PictureWatermark watermark)
Parameters
PictureWatermark watermark

Properties

Image

Gets or sets the image of the watermark to be printed on the page.

Declaration
public object Image { get; set; }
Property Value
System.Object

The image of the watermark to be printed on the page.

Remarks

The specified image can be in one of the following supported formats: an object instance inherited from System.Drawing.Image; an array of bytes containing binary image data; a local file path (relative or absolute) or an URL to an external image file. Instead of providing the image directly, it is possible to specify it indirectly as an expression that gets evaluated at runtime for each printable page. The result of the evaluation should be of one of the support types enumerated above. If the image is null (Nothing in Visual Basic), or if the specified expression evaluates to null (Nothing in Visual Basic), the watermark is not printed on the current page.

Examples

The following expression prints a watermark on every second page:

= IIf(PageNumber % 2 = 0, "Watermark.png", Null)

Sizing

Gets or sets the sizing mode of the watermark image on the printable page.

Declaration
public WatermarkSizeMode Sizing { get; set; }
Property Value
WatermarkSizeMode

A ImageSizeMode value that specifies the sizing mode of the watermark image on the printable page.

Methods

GetStrings()

Declaration
protected override IEnumerable<string> GetStrings()
Returns
System.Collections.Generic.IEnumerable<System.String>

Overrides
Watermark.GetStrings()

ResetSizingCore()

Declaration
protected virtual void ResetSizingCore()

ShouldSerializeSizingCore()

Declaration
protected virtual bool ShouldSerializeSizingCore()
Returns
System.Boolean

Explicit Interface Implementations

ICloneable.Clone()

Declaration
object ICloneable.Clone()
Returns
System.Object

Implements
System.ICloneable.Clone()

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.