'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved. Permission to create derivate works of this script is granted provided this copyright notice is included',
'Description': 'Center the active layer on the canvas',
'Host': 'Paint Shop Pro 8',
'Host Version': '8.00'
}
def Do(Environment):
# we need a document for this to work
if JascUtils.RequireADoc( Environment ) == App.Constants.Boolean.false:
return
# need the canvas size, the layer size and the layer position