• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
TallComponents has been acquired by Apryse.
Learn more here.
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF.Layout
  • TallComponents.PDF.Layout.Actions
  • TallComponents.PDF.Layout.Brushes
  • TallComponents.PDF.Layout.Colors
  • TallComponents.PDF.Layout.Css
  • TallComponents.PDF.Layout.Fonts
  • TallComponents.PDF.Layout.JavaScript
  • TallComponents.PDF.Layout.Metadata
  • TallComponents.PDF.Layout.Navigation
  • TallComponents.PDF.Layout.Paragraphs
  • TallComponents.PDF.Layout.Pens
  • TallComponents.PDF.Layout.ResourceLoader
  • TallComponents.PDF.Layout.Security
  • TallComponents.PDF.Layout.Shapes
  • TallComponents.PDF.Layout.Shapes.Annotations
  • TallComponents.PDF.Layout.Shapes.Barcodes
  • TallComponents.PDF.Layout.Shapes.Fields
  • TallComponents.PDF.Layout.Xml
  • TallComponents.PDF.Tags

Property KeepAspectRatio

Namespace TallComponents.PDF.Layout.Shapes
Class ImageShape

If KeepAspectRatio is set to true, the height is calculated from the width so that the width/height ratio is equal to the columns/rows ratio of the raster of the original image. If set to false, the specified width and height are used and the image will in general appear distorted.

Syntax

public  Boolean  KeepAspectRatio  {  get;  set;  }

Property value

Boolean

Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Documentation
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2026 TallComponents BV. All rights reserved.