Tile pattern rotating

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
baranyviki
User
Posts: 1
Joined: Fri Feb 08, 2019 4:10 pm

Tile pattern rotating

Post by baranyviki » Fri Feb 08, 2019 4:30 pm

Hi,

I'm trying to create a tile pattern from an image. The image is rotated in a certain angle. When I create the pattern with the function called "CreateTilePattern" I provide a BoundingBox in its first parameter. How should I define this box if I want it to be rotated like the image? I tried a few things but nothing worked so far. The result is always the same as the image in the pdf I provided in the zip file. I added a picture (wanted.jpg) too that shows what I want to achieve.

Thanks,
Viki
Attachments
Patterns.zip
(2.97 MiB) Downloaded 3 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 3827
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Tile pattern rotating

Post by Sasha - Tracker Dev Team » Sat Feb 09, 2019 7:34 am

Hello Viki,

There is a sample on this matter. Download the CoreAPIDemo application available from here:
https://github.com/tracker-software/PDFCoreSDKExamples
There, you can see the sample "4.7. Patterns" - it has exactly what you need.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply