Repository navigation
Fix docs examples that don't compile: rotate names, SVG scaling, QR format, nested DocumentOperation types, obsolete PdfA - #69
Open
DawidRobertNowak wants to merge 3 commits into
Conversation
…ames The 2026.8 rename turned RotateLeft / RotateRight into RotateLayoutCounterclockwise / RotateLayoutClockwise. The Rotate page documented RotateCounterclockwise / RotateClockwise, which never existed, and the table example still used the obsolete RotateLeft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… example The SVG page said SVG supports the same scaling options as raster images, but SvgImageDescriptor offers only FitWidth, FitHeight and FitArea, so code calling FitUnproportionally on an SVG does not compile. The QR code example passed BarcodeFormat.EAN_13 to the renderer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dfA setting LayerConfiguration, DocumentAttachment, DocumentAttachmentRelationship and Encryption40Bit/128Bit/256Bit are nested in DocumentOperation, so the snippets did not compile when copied (CS0246/CS0103). PdfA is obsolete; the examples now set PDFA_Conformance to PDFA_3B. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RotateCounterclockwise/RotateClockwise→RotateLayoutCounterclockwise/RotateLayoutClockwise(table and example).RotateLeft()→RotateLayoutCounterclockwise().FitWidth,FitHeight,FitArea; SVG always keeps its aspect ratio;FitUnproportionallyis raster-only.BarcodeFormat.EAN_13→BarcodeFormat.QR_CODE.LayerConfiguration,DocumentAttachment,DocumentAttachmentRelationshipandEncryption40Bit/128Bit/256Bit→DocumentOperation.…(they are nested types; 12 places).PdfA = true→PDFA_Conformance = PDFA_Conformance.PDFA_3B.Why
Found in an AI documentation test: 16 developer questions, 2 AI agents each, every answer compiled against QuestPDF 2026.9.1. 8 of 32 answers did not compile and 2 used an obsolete API; all 10 came from these docs passages:
RotateCounterclockwise()never existed (the code renamedRotateLefttoRotateLayoutCounterclockwiseon 2026-08-05; the docs update of 2026-08-12 used a different name) → CS1061..Svg().FitUnproportionally()does not exist → CS1061.new Encryption256Bit,new LayerConfigurationwithout theDocumentOperation.prefix → CS0246.PdfA = true→ CS0618 (obsolete).Check
QuestPDF.xml2026.9.1 and the source onmain.RotateCounterclockwise,RotateClockwise,RotateLeft,RotateRight, bare nestedDocumentOperationtypes orPdfA =indocs/.🤖 Generated with Claude Code