The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I created stamp annotation with image. By default the image will auto change size to fill the annotation when I change size of annotation. How can I change this behavior to set image fill or fit to annotation?
BSBharathi Selvam Syncfusion Team September 30, 2024 04:37 PM UTC
Hi Thanh,
As per the
PDF specification, it is the default behavior for stamp annotations that the
image will fill the size of the annotation bounds.
Could you
please confirm if your requirement is to maintain the aspect ratio of the stamp
annotation while resizing? If so, you can achieve this by setting the IsSignature property
to true when creating the stamp annotation. When added as a
signature, the aspect ratio will be preserved.
Please let us
know if this solution meets your needs.
Best regards,
Bharathi S
Need More Help?
Get personalized assistance from our support team.