Skip to content

Red Border and Image Overlay #823

Discussion options

You must be logged in to vote

This visualization shows an invalid layout constraint related to your logo 😄

The logo has an aspect ratio of 200:100, so when set with MaxWidth equal to 90 points (from ConstantItem), it wants to use 45 points of horizontal space but has only 30 points (from MaxHeight). This is because the default scaling strategy is FitWidth.

You can either remove MaxHeight or change the Image scaling strategy to FitArea (https://www.questpdf.com/api-reference/image.html#image-scaling)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SmartValve-Jordan
Comment options

Answer selected by SmartValve-Jordan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants