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 Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IPosition

Defines the contract for position and transformation operations on elements in PDF documents.

Namespace: Telerik.Windows.Documents.Fixed.Model.Data
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public interface IPosition

Properties

Matrix

Gets the transformation matrix that defines the current position and orientation.

Declaration
Matrix Matrix { get; }
Property Value
System.Windows.Media.Matrix

The transformation matrix containing scale, rotation, and translation values.

Methods

Clear()

Resets all transformation values to their default state.

Declaration
void Clear()

Clone()

Creates a deep copy of the current position instance with all transformation values.

Declaration
IPosition Clone()
Returns
IPosition

A deep copy of this IPosition instance.

Rotate(Double)

Applies rotation transformation by the specified angle around the origin.

Declaration
void Rotate(double angle)
Parameters
System.Double angle

The rotation angle in degrees.

RotateAt(Double, Double, Double)

Applies rotation transformation by the specified angle around a center point.

Declaration
void RotateAt(double angle, double centerX, double centerY)
Parameters
System.Double angle

The rotation angle in degrees.

System.Double centerX

The X coordinate of the rotation center point.

System.Double centerY

The Y coordinate of the rotation center point.

Scale(Double, Double)

Applies scaling transformation by the specified factors.

Declaration
void Scale(double scaleX, double scaleY)
Parameters
System.Double scaleX

The horizontal scale factor.

System.Double scaleY

The vertical scale factor.

ScaleAt(Double, Double, Double, Double)

Applies scaling transformation by the specified factors around a center point.

Declaration
void ScaleAt(double scaleX, double scaleY, double centerX, double centerY)
Parameters
System.Double scaleX

The horizontal scale factor.

System.Double scaleY

The vertical scale factor.

System.Double centerX

The X coordinate of the scaling center point.

System.Double centerY

The Y coordinate of the scaling center point.

Translate(Double, Double)

Applies translation transformation by the specified offset values.

Declaration
void Translate(double offsetX, double offsetY)
Parameters
System.Double offsetX

The horizontal translation offset.

System.Double offsetY

The vertical translation offset.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing 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.