Make ZoomPercent a public parameter in SenderPdfEditor

Refactored the `ZoomPercent` property in `SenderPdfImageEditor.razor` to be a public parameter, enabling external control of the zoom level. Removed the private `_zoomPercent` field and updated all references to use the new parameter.

Updated the `SetZoomPercent` method to modify the `ZoomPercent` parameter. Adjusted `SenderPdfImageEditorToolbar` to accept `ZoomPercent` as a parameter.

In `CreateEnvelopeWizardPopup.razor`, added the `ZoomPercent` parameter to the `SenderPdfImageEditor` component with a default value of `100`.
This commit is contained in:
2026-11-30 15:45:19 +01:00
parent eae1f7baa8
commit d82d0f4a66
2 changed files with 10 additions and 7 deletions

View File

@@ -411,7 +411,8 @@
SignatureOverlays="Array.Empty<SenderPdfSignatureOverlay>()"
ShowFieldRemoveButton="false"
ShowToolbar="false"
EnableWheelZoom="false" />
EnableWheelZoom="false"
ZoomPercent="100"/>
</div>
}
</aside>