NeoSmartpen / Ncode-SDK2.0

Ncode™ Generation SDK 2.0
17 stars 5 forks source link

Can I create a custom size pattern? #11

Closed YoshihikoFuruhashi closed 4 years ago

YoshihikoFuruhashi commented 4 years ago

I want to create a 600 x 300mm size paper. How can i create it? Or can i create only fixed pattern size?

hrhwang commented 4 years ago

You can set the pageSize value in the sample code. Enter the value in units of Inch. Ncode image is based on 600 DPI, so if you want 600x300 pixels, you can put 1.0 in pageSize.Width and 0.5 in pageSize.Height.