public void Initialize(UILayerInitializeContext context) { this.context = context; double width = PageLayoutHelper.GetActualWidth(context.Page); double height = PageLayoutHelper.GetActualHeight(context.Page); this.canvas.Width = width; this.canvas.Height = height; this.canvas.Background = System.Windows.Media.Brushes.Transparent; }
protected override void ProcessRecord() { PageLayoutHelper obj = new PageLayoutHelper(); obj.ChangePageLayoutForPagesUsingOldPageLayoutInWeb(OutPutDirectory, WebUrl, NewPageLayoutUrl, OldPageLayoutUrl, NewPageLayoutDescription, Constants.ActionType_Web.ToLower(), SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { PageLayoutHelper obj = new PageLayoutHelper(); obj.ChangePageLayoutForPagesUsingOldPageLayoutInWeb(InputFolder, WebUrl, NewPageLayoutUrl, OldPageLayoutUrl, NewPageLayoutDescription, "", SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { PageLayoutHelper obj=new PageLayoutHelper(); obj.ChangePageLayoutForDiscoveryOutPut(OutPutDirectory,PageLayoutUsageFilePath, OldPageLayoutUrl, NewPageLayoutUrl, NewPageLayoutDescription, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { PageLayoutHelper obj = new PageLayoutHelper(); obj.ChangePageLayoutForDiscoveryOutPut(InputFolder, OldPageLayoutUrl, NewPageLayoutUrl, NewPageLayoutDescription, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { PageLayoutHelper obj = new PageLayoutHelper(); obj.ChangePageLayoutForPagesUsingOldPageLayoutInSiteCollection(OutPutDirectory, SiteCollectionUrl, OldPageLayoutUrl, NewPageLayoutUrl, NewPageLayoutDescription, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }