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:
@@ -411,7 +411,8 @@
|
||||
SignatureOverlays="Array.Empty<SenderPdfSignatureOverlay>()"
|
||||
ShowFieldRemoveButton="false"
|
||||
ShowToolbar="false"
|
||||
EnableWheelZoom="false" />
|
||||
EnableWheelZoom="false"
|
||||
ZoomPercent="100"/>
|
||||
</div>
|
||||
}
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user