OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Blogs > shelbym

Rate this Entry

Differences between VGCore (2020) and VGCore (2021)

Posted 10-03-2021 at 11:00 by shelbym

Introduction

Corel has released a new version of CorelDRAW. Let's see what is new in the Object Model for 2021. The list is not that long so I will post the entire list here, no need to download a file this year.


Differences between VGCore (22.1) and VGCore (23.0)

Legend:
  • Not changed
  • Added
  • Removed

Class ActiveView

Properties:
  • Property UseMultipageView As Boolean
Methods:
  • Function FindPageAtPoint(ByVal x As Double, ByVal y As Double) As Page
  • Function GetPageBoundingBox(ByVal Page As Page) As Rect
  • Sub GetPageOrigin(ByVal Page As Page, ByRef x As Double, ByRef y As Double)
  • Sub SetPageOrigin(ByVal Page As Page, ByVal x As Double, ByVal y As Double)
  • Sub ToFitAllPages()

Class Application

Methods:
  • Function GetGlobalPreferenceValue(ByVal GroupName As String, ByVal KeyName As String) As Variant
  • Sub SetGlobalPreferenceValue(ByVal GroupName As String, ByVal KeyName As String, ByVal newVal As Variant)

Class Document

Properties:
  • Property MultipageLayout As cdrMultipageLayout
  • Property MultipageLayoutColumns As Long
  • Property MultipageLayoutSpacing As Double

Class IPDFSettingsInternal

Class Page

Methods:
  • Sub Autofit([ByVal Margin As Double=0])

Enum cdrAuthorAuthentication

Constants:
  • cdrAuthorAuthenticationCDA As Long=3

Enum cdrFileVersion
Constants:
  • cdrVersion23 As Long=23

Enum cdrFilter

Constants:
  • cdrHEIF As Long=824

Enum cdrMultipageLayout

Constants:
  • cdrMultipageLayoutUndefined As Long=0
  • cdrMultipageLayoutFreeform As Long=1
  • cdrMultipageLayoutHorizontal As Long=2
  • cdrMultipageLayoutVertical As Long=3
  • cdrMultipageLayoutGrid As Long=4

Conclusion

There you have it, those are the changes in the Object Model for CorelDRAW 2021. Happy coding!
Posted in Uncategorized
Views 6680 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 
Total Trackbacks 0

Trackbacks


All times are GMT -5. The time now is 20:41.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com