Skip to content

Conversation

@cahalu
Copy link

@cahalu cahalu commented Jan 22, 2025

Access to Bounds of m_drawing for calculation of ratio for parent control when used ContentToSizeNoStretch. There is also ImageSource.Bounds but it contains null.

Example:
myCanvasStretch.Width = xadjust;
myCanvasStretch.Height = xadjust * svg.Bounds.Height / svg.Bounds.Width;

@jogibear9988
Copy link
Member

no answer and fix of the issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants