Skip to content

Commit

Permalink
Release nuget package version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertHajbok committed Aug 6, 2017
1 parent e19616c commit 77aa9f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### What is WebFormsDocumentViewer?
### What is WebFormsDocumentViewer?
WebFormsDocumentViewer is a simple custom control that lets you embed documents (PDF and Word) in your ASP.NET WebForms pages.

### How do I get started?
Expand All @@ -21,6 +21,13 @@ Or on your web page:
<%@ Register Assembly="WebFormsDocumentViewer" Namespace="WebFormsDocumentViewer" TagPrefix="cc" %>
```

### Where can I get it?
First, [install NuGet](http://docs.nuget.org/docs/start-here/installing-nuget). Then, install [WebForms.DocumentViewer](https://www.nuget.org/packages/WebForms.DocumentViewer/) from the package manager console:
```
PM> Install-Package WebForms.DocumentViewer
```

### How to use it?
You can configure the following parameters of the viewer:
* Width: sets the width of the iframe
Expand Down
6 changes: 1 addition & 5 deletions WebFormaDocumentViewer.UI/Default.aspx.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebFormsDocumentViewer.UI
{
public partial class Default : System.Web.UI.Page
public partial class Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
Expand Down
1 change: 1 addition & 0 deletions WebFormsDocumentViewer/WebFormsDocumentViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\WebFormsDocumentViewer.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
Expand Down

0 comments on commit 77aa9f8

Please sign in to comment.