skip navigation
  • 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 Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    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

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Migrate to .NET MAUI
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SaveImageSettings

Inheritance
System.Object
SaveImageSettings
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll

Syntax

public class SaveImageSettings : Object

Constructors

SaveImageSettings()

Represents a class for controlling the save to image operation when calling SaveImageAsync(Stream, SaveImageSettings) method. It includes properties for manipulation of the , ImageQuality, ScaleFactor, BackgroundColor of the saved image, as well as the StrokeColor and StrokeThickness of the signature.

Declaration
public SaveImageSettings()

Properties

BackgroundColor

Declaration
public Color BackgroundColor { get; set; }
Property Value
Xamarin.Forms.Color

ImageFormat

Gets or sets the image format to encode the image to.

Declaration
public ImageFormat ImageFormat { get; set; }
Property Value
ImageFormat

ImageQuality

Gets or sets the quality of the encoded image, when using a lossy compression format: the value of 1 specifies the maximum possible quality, resulting in minimum compression; the value of 0 specifies the minimum possible quality, resulting in maximum compression.

Declaration
public double ImageQuality { get; set; }
Property Value
System.Double

ScaleFactor

Gets or sets a scale factor, which can be used to reduce the size of the final image: values below 1 downscale the image before saving, thus reducing the final image size; values above 1 upscale the image before saving, thus increasing the final image size.

Declaration
public double ScaleFactor { get; set; }
Property Value
System.Double

StrokeColor

Gets or sets the stroke color for the signature in the encoded image.

Declaration
public Color StrokeColor { get; set; }
Property Value
Xamarin.Forms.Color

StrokeThickness

Gets or sets the stroke thickness for the signature in the encoded image

Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double

Sample Applications
  • Telerik Tagit
  • iOS Demo App
  • Android Demo App
Support Resources
  • iOS Wrappers
  • Android Wrappers
  • Xamarin.Forms SDK Examples
Community
  • Forums
  • Blogs
  • 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.